home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 14_Cabinet / MAINFRM.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.6 KB  |  63 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. // This is a part of the Microsoft Foundation Classes and
  4. // Templates (MFC&T).
  5. // Copyright (C) 1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // MFC&T Reference and related electronic documentation provided
  10. // with the library.  See these sources for detailed information
  11. // regarding the MFC&T product.
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CMainFrame : public CFrameWnd
  16. {
  17. protected: // create from serialization only
  18.     CMainFrame();
  19.     DECLARE_DYNCREATE(CMainFrame)
  20.  
  21. // Attributes
  22. protected:
  23.     CSplitterWnd m_wndSplitter;
  24. public:
  25.     CStatusBar* GetStatusBar()
  26.         { return &m_wndStatusBar; };
  27.  
  28. // Operations
  29. public:
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CMainFrame)
  34.     public:
  35.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  36.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. public:
  41.     virtual ~CMainFrame();
  42. #ifdef _DEBUG
  43.     virtual void AssertValid() const;
  44.     virtual void Dump(CDumpContext& dc) const;
  45. #endif
  46.  
  47. protected:  // control bar embedded members
  48.     CStatusBar  m_wndStatusBar;
  49.     CToolBar    m_wndToolBar;
  50.  
  51. // Generated message map functions
  52. protected:
  53.     //{{AFX_MSG(CMainFrame)
  54.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  55.     afx_msg void OnViewOptions();
  56.     afx_msg void OnAppClone();
  57.     afx_msg void OnFileOpen();
  58.     //}}AFX_MSG
  59.     DECLARE_MESSAGE_MAP()
  60. };
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63.